home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / qlib205.zip / QLIB.ZIP / TEST / WHERE.C < prev    next >
C/C++ Source or Header  |  1997-03-16  |  286b  |  23 lines

  1. #include <qlib.h>
  2. #include <conio.h>
  3. #include <stdio.h>
  4.  
  5. void main(void) {
  6.   word x,y;
  7.  
  8.   clrscr();
  9.  
  10.   gotoxy(10,10);
  11.   x=wherex();
  12.   y=wherex();
  13.   printf("X=%d Y=%d",x,y);
  14.  
  15.   gotoxy(5,5);
  16.   x=wherex();
  17.   y=wherex();
  18.   printf("X=%d Y=%d",x,y);
  19.  
  20.   gotoxy(1,20);
  21. }
  22.  
  23.